using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class Name
    {
        public Name()
        {
            this.ACT_TASK = new List<ACT_TASK>();
            this.admisions = new List<admision>();
            this.Batchttls = new List<Batchttl>();
            this.COM_Contact = new List<COM_Contact>();
            this.NPD_Note = new List<NPD_Note>();
            this.Salesmen = new List<Salesman>();
            this.SD_Course = new List<SD_Course>();
            this.SD_Eval = new List<SD_Eval>();
            this.SD_Reg = new List<SD_Reg>();
            this.SD_Student = new List<SD_Student>();
            this.SD_Teacher = new List<SD_Teacher>();
            this.SM_Opportunity = new List<SM_Opportunity>();
            this.SM_Pricing = new List<SM_Pricing>();
            this.WF_Notification = new List<WF_Notification>();
            this.OE_ORDER = new List<OE_ORDER>();
            this.OE_ORDER1 = new List<OE_ORDER>();
            this.Ps = new List<P>();
            this.Ps1 = new List<P>();
            this.Ps2 = new List<P>();
            this.Ps3 = new List<P>();
            this.req_tests = new List<req_tests>();
            this.requests = new List<request>();
        }

        public string USERNAME { get; set; }
        public string PASSWORD { get; set; }
        public int USERID { get; set; }
        public string FULLNAME { get; set; }
        public Nullable<byte> USERTYPE { get; set; }
        public bool DISABLEUSER { get; set; }
        public Nullable<short> DEFCSTCTR { get; set; }
        public Nullable<short> ROOTCSTCTR { get; set; }
        public string File_Primary_Key { get; set; }
        public Nullable<byte> LANGUAGE { get; set; }
        public string DefPhys { get; set; }
        public Nullable<byte> showtips { get; set; }
        public Nullable<int> tipnb { get; set; }
        public Nullable<byte> TPI { get; set; }
        public string Code { get; set; }
        public string Names_RecordType { get; set; }
        public string Names_RecordID { get; set; }
        public Nullable<bool> NM_PER_EnablePerio { get; set; }
        public Nullable<bool> NM_Per_ChartByDef { get; set; }
        public Nullable<bool> NM_DC_Maximize { get; set; }
        public string NM_Per_DefSeq { get; set; }
        public Nullable<bool> NM_ShowToolboxHints { get; set; }
        public Nullable<int> NM_LastManager { get; set; }
        public Nullable<bool> NM_DisablePostVbatch { get; set; }
        public Nullable<System.DateTime> NM_DisablePostVbatchSDate { get; set; }
        public virtual ICollection<ACT_TASK> ACT_TASK { get; set; }
        public virtual ICollection<admision> admisions { get; set; }
        public virtual ICollection<Batchttl> Batchttls { get; set; }
        public virtual ICollection<COM_Contact> COM_Contact { get; set; }
        public virtual ICollection<NPD_Note> NPD_Note { get; set; }
        public virtual ICollection<Salesman> Salesmen { get; set; }
        public virtual ICollection<SD_Course> SD_Course { get; set; }
        public virtual ICollection<SD_Eval> SD_Eval { get; set; }
        public virtual ICollection<SD_Reg> SD_Reg { get; set; }
        public virtual ICollection<SD_Student> SD_Student { get; set; }
        public virtual ICollection<SD_Teacher> SD_Teacher { get; set; }
        public virtual ICollection<SM_Opportunity> SM_Opportunity { get; set; }
        public virtual ICollection<SM_Pricing> SM_Pricing { get; set; }
        public virtual ICollection<WF_Notification> WF_Notification { get; set; }
        public virtual UserType UserType1 { get; set; }
        public virtual ICollection<OE_ORDER> OE_ORDER { get; set; }
        public virtual ICollection<OE_ORDER> OE_ORDER1 { get; set; }
        public virtual ICollection<P> Ps { get; set; }
        public virtual ICollection<P> Ps1 { get; set; }
        public virtual ICollection<P> Ps2 { get; set; }
        public virtual ICollection<P> Ps3 { get; set; }
        public virtual ICollection<req_tests> req_tests { get; set; }
        public virtual ICollection<request> requests { get; set; }
    }
}
